<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class User extends CI_Controller {

    /**
     *
     */
    public function get_feeds($user_id)
    {
        $this->load->model('User_model');
        $data = $this->User_model->get_feeds_by_user_id($user_id);
        
        //print '<pre>';
        //var_dump($data);
        //print '</pre>';

        print json_encode($data);
    }

}

/* End of file user.php */
/* Location: ./application/controllers/user.php */